﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TagPropagator
{
    /// <summary>
    /// Interface for serializing and deserializing nodes/images. Product of such image should always contain filled feature vector.
    /// Tags are optional. Functions for extracting tags/deserializing feature vector etc may be protected (avoid private). They may also
    /// be added in future releases.
    /// </summary>
    public interface ISerializer
    {
        Graph Deserialize(String file);
        void Serialize(Graph graph, String file);
    }
}
